/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package business.Service;

import java.sql.ResultSet;
import java.util.List;
import java.util.Vector;
import model.entity.Image;
import model.entity.Post;

/**
 *
 * @author ninkuhack
 */
public interface ImageService {
    public Image getImageByID(int imageID);    
    public List<Image> getAllImages();    
    public boolean insertImage(Image image);    
    public boolean updateImage(Image image);    
    public boolean deleteImage(int imageID);  
    public boolean restoreImage(int imageID); 
    public List<Image> findImageByPostID(Post postID);    
    public List<Image> findImageByPostID(int postID);  
}
